package com.jy.service;

import com.jy.common.enums.ResponseWrapper;
import com.jy.entity.SearchHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 搜索历史表 服务类
 * </p>
 *
 * @author fzg
 * @since 2024-11-12
 */
public interface SearchHistoryService extends IService<SearchHistory> {

    ResponseWrapper getHotSearchKey();

    ResponseWrapper deleteHistorySearchKeys(Integer userAid);

    ResponseWrapper addSearchHistory(Integer userAid, String keyValue);
}
